package cm.day10;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.Arrays;

public class Test3 {
    public static void main(String[] args) {
        //创建字符输出流
        BufferedReader br= null;
        try {
            br = new BufferedReader(new FileReader("d:/aaa/bbb.txt"));
            String str=null;
            while ((str=br.readLine())!=null){
                System.out.println(str);
            }
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
        }
        try {
            br.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
